/*
 * Copyright (c) 2025 CAX Conversion Project
 */
package com.comac.ins.isfd.domain.bo;

import lombok.Data;

import java.util.List;

/**
 * 算子编排传输类
 *
 * @author hxloongs
 * @date 2024-7-10
 */
@Data
public class AlgorithmArrangementBo {
    private String status;
    private String analysisRefId;

    private Arrangement arrangement;

    @Data
    public static class Arrangement {
        private List<Node> nodeList;
        private List<Link> linkList;

        @Data
        public static class Node {
            private String _id;
            private List<Float> coordinate;
            private String nodeType;
            private String label;
            private String operatorType;
            private String operatorRefId;
            private List<String> parent;
        }

        @Data
        public static class Link {
            private String _id;
            private String sourceRefId;
            private String targetRefId;
            private List<Integer> startAt;
            private List<Integer> endAt;
            private String nodeType;
        }
    }
}
